<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<form name="postForm" action="MenuStudent.jsp" method="post">
		<p>管理员个人信息</p>
		<table width="280" border="5" >
		<tr>
		<td>账号</td>
		<td>姓名</td>
	    	<td>性别</td>
	    	<td>电话</td>
	    	<td>地址</td>
	  	</tr>
		
		<%
    	String st =request.getParameter("mnum"); 	    	
    	ProManageDao mdao=new ProManageDaoJDBC();
    	Student stu = sdao.findBystuno(stuno);
    	if (!st.isEmpty()){
		%>
			<tr>
			 <td><input type="text" id="a" name="stuno" width="10" value=<%=stuno%> readonly=”true“></td>
    		<td><%=stu.getName() %></td>
    		<td><%=stu.getMath() %></td>
    		<td><%=stu.getSport() %></td>
    		<td><%=stu.getJava() %></td>
    	    </tr>
    	   <%
    	   }%>
		</table>
		<input type="submit" value="返回菜单" />
	</form>
</body>
</html>